<?php
/**
 * @package orinoco.framework
 * @author Ryan Yonzon <rawswift@gmail.com>
 * @copyright Copyright 2008 Ryan Yonzon 
 * @license http://www.opensource.org/licenses/mit-license.php MIT License
 */

require('../libs/config/environment.config.php');
require(CORE_CONFIG_DIR . 'framework.config.php');	
require(CONFIG_DIR . 'application.config.php');
require(CLASS_APPLICATION_DIR . 'router.class.php');
require(CLASS_FRAMEWORK_DIR . 'constructor.core.php');	
require(CLASS_FRAMEWORK_DIR . 'exception.core.php');

	set_exception_handler(array('exceptionHandler', 'handler'));
	
	$_route = new Router();
	$_constructor = new coreConstructor($_route);
	$_constructor->dispatch();

// -EOF-